package com.scau402.system1.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.junit.jupiter.params.shadow.com.univocity.parsers.annotations.Validate;

import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 创建盘点单DTO
 * @since 2024/1/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WmsCheckBoundOrderDTO {
    /**
     * 盘点单名称
     */
    @NotNull(message = "盘点单名称不能为空")
    private String orderName;
    /**
     * 盘点目标List
     */
    @Validate
    @NotEmpty(message = "盘点目标不能为空")
    private List<WarehouseStorage> targetList;
    /**
     * 备注
     */
    private String remark;
}
